//
//  DetailView.m
//  PASystem
//
//  Created by 刘沿 on 16/8/8.
//  Copyright © 2016年 czd. All rights reserved.
//

#import "DetailView.h"

@implementation DetailView

+(instancetype)withDetailView{

    return [[[NSBundle mainBundle] loadNibNamed:@"DetailView" owner:nil options:nil] lastObject];

}

- (void)setModel:(proviceModel *)model{

    _model = model;

    self.REGCODE.text = model.REGCODE;
    self.ORGNAMEAPP.text = model.ORGNAMEAPP;
    self.CHINESENAME.text = model.CHINESENAME;
    self.ENGLISHNAME.text = model.ENGLISHNAME;
    self.PHONE.text = model.PHONE;
    self.fax.text = model.PHONE;
    self.POSTCODE.text = model.POSTCODE;
    self.WEBSITE.text = model.WEBSITE;
    self.ADDRESS.text = model.ADDRESS;
}




@end
